package com.tianxinweb.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cboy
 * @since 2018-08-07
 */
@TableName("tx_exchange_rate")
public class ExchangeRate implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 每一枚黑金币可以兑换多少美元
     */
    private BigDecimal rate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    @Override
    public String toString() {
        return "ExchangeRate{" +
        ", id=" + id +
        ", rate=" + rate +
        "}";
    }
}
